package com.ys.nms.module.business.controller.admin.ipv4Mac.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.VO;
import com.ys.nms.framework.tenant.core.aop.TenantIgnore;
import com.ys.nms.module.business.dal.dataobject.ports.PortsDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - IPMAC Response VO")
@Data
@ExcelIgnoreUnannotated
public class Ipv4MacRespVO implements VO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10088")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "端口ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9372")
    @ExcelProperty("端口ID")


    @Trans(type = TransType.SIMPLE, target = PortsDO.class, fields = { "ifName", }, refs = { "ifName" })
    private Integer portId;

    private String ifName;

    @Schema(description = "设备ID", example = "28381")
    @ExcelProperty("设备ID")
    private Integer deviceId;

    @Schema(description = "mac地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("mac地址")
    private String macAddress;

    @Schema(description = "ipv4地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("ipv4地址")
    private String ipv4Address;

    @Schema(description = "SNMP 上下文名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("SNMP 上下文名称")
    private String contextName;

}
